<html>
    <head>
        <style type="text/css">
            html,body,img
            {
                height:<?php echo $ad['intHeight'].'px'; ?>;
                width:<?php echo $ad['intWidth'].'px'; ?>;
                margin:0;
                padding:0;
                
            }
        </style>
    </head>
    <body style="overflow:hidden">
        <?php if($this->data['ad']['enumPlayerLink']!="" && $this->data['ad']['enumPlayerLink']!="none" ): ?>
        <a target="" class="btn btn-inverse" href="#"  onclick = "window.open('<?php echo base_url().'player/load_player/'.$this->data['ad']['enumPlayerLink']; ?>','Player','directories=no,titlebar=no,toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=no,width=600,height=600,left='+(screen.availWidth/2-350)+',top='+(screen.availHeight/2-250)+'');return false;" >
        <?php else: ?>
        <?php if($this->data['ad']['strLink']!=""): ?>
            <a target="_blank" href="<?php echo $ad['strLink']; ?>">
        <?php else: ?>
        <a href="#">
        <?php endif; ?>
         <?php endif; ?>    
            <img src="<?php echo IMAGE_UPLOAD_DIR.$ad['strFilename']; ?>"/>
        </a>
    </body>
</html>
